package zzs.generalframework.console.core.authorization.authrolefunctionmap.service;

import java.util.List;

import zzs.generalframework.common.core.authorization.authrolefunctionmap.AuthRoleFunctionMapBO;
import zzs.generalframework.common.core.authorization.authrolefunctionmap.AuthRoleFunctionMapInfo;
import zzs.generalframework.console.common.exception.ConsoleException;
import zzs.generalframework.console.common.model.ConsoleReturnBO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.authorization.authrolefunctionmap.service
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface IAuthRoleFunctionMapService
{

	/**
	 * 保存权限角色功能映射信息
	 *
	 * @param authRoleFunctionMap
	 * @return
	 */
	public ConsoleReturnBO saveAuthRoleFunctionMap(AuthRoleFunctionMapBO authRoleFunctionMapBO);

	/**
	 * 保存权限角色功能映射信息列表
	 *
	 * @param authRoleFunctionMapBOList
	 * @return
	 * @throws ConsoleException
	 */
	public ConsoleReturnBO saveAuthRoleFunctionMap(List<AuthRoleFunctionMapBO> authRoleFunctionMapBOList) throws ConsoleException;

	/**
	 * 获取权限角色功能映射信息
	 *
	 * @param authRoleFunctionMapInfo
	 * @return
	 */
	public ConsoleReturnBO getAuthRoleFunctionMap(AuthRoleFunctionMapInfo authRoleFunctionMapInfo);

	/**
	 * 获取权限角色功能映射信息列表
	 *
	 * @param authRoleFunctionMapInfo
	 * @return
	 */
	public ConsoleReturnBO listAuthRoleFunctionMap(AuthRoleFunctionMapInfo authRoleFunctionMapInfo);

	/**
	 * 更新权限角色功能映射信息
	 *
	 * @param authRoleFunctionMapBO
	 * @return
	 */
	public ConsoleReturnBO updateAuthRoleFunctionMap(AuthRoleFunctionMapBO authRoleFunctionMapBO);

	/**
	 * 更新权限角色功能映射信息列表
	 *
	 * @param authRoleFunctionMapBOList
	 * @return
	 * @throws ConsoleException
	 */
	public ConsoleReturnBO updateAuthRoleFunctionMap(List<AuthRoleFunctionMapBO> authRoleFunctionMapBOList) throws ConsoleException;

	/**
	 * 删除权限角色功能映射信息
	 *
	 * @param authRoleFunctionMapBO
	 * @return
	 */
	public ConsoleReturnBO removeAuthRoleFunctionMap(AuthRoleFunctionMapBO authRoleFunctionMapBO);

	/**
	 * 删除权限角色功能映射信息列表
	 *
	 * @param authRoleFunctionMapBOList
	 * @return
	 * @throws ConsoleException
	 */
	public ConsoleReturnBO removeAuthRoleFunctionMap(List<AuthRoleFunctionMapBO> authRoleFunctionMapBOList) throws ConsoleException;

	/**
	 * 统计权限角色功能映射信息
	 *
	 * @param authRoleFunctionMapBO
	 * @return
	 */
	public Long countAuthRoleFunctionMap(AuthRoleFunctionMapBO authRoleFunctionMapBO);

}
